package com.tyl.gridge;

public class Test {
    public static void main(String[] args) {
        //apple
        Computer computer= new Laptop(new Apple());
        computer.info();
        //lenovo
        Computer computer1=new Desktop(new Lenovo());
        computer1.info();
    }
}
